//
//  TemplateFactory.h
//  ResourceLoader
//
//  Created by winston on 13-4-10.
//  Copyright (c) 2013年 winston. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TemplateView.h"

@interface TemplateFactory : NSObject

+(TemplateFactory*)getInstance;

-(TemplateView*)createViewByTemplateFileName:(NSString*)name withModuleKey:(NSString*)moduleKey withAutoID:(NSString*)autoID;
-(TemplateView*)createViewByTemplateFileName:(NSString*)name RootPath:(NSString *)rootpath;
@end
